let controller: any = null;
export function getResultHistory(wlid: String) {
  controller && controller.abort();
  controller = new AbortController();
  const url = (window as any).apiUrl.VITE_SERVER_URL + '/lab/maininfo/findHistoryResultByLabMaininfo?id=' + wlid.toLowerCase(); // + wlid.toLowerCase();
  return fetch(url, {
    method: 'GET',
    headers: {
      'Content-type': 'application/json; charset=UTF-8'
    }
  });
}
